import sys

import langchain
import openai
# 使用PyCharm配合Conda创建的python虚拟环境来创建项目
print(langchain.__version__)    #0.3.27

print(openai.__version__)   #1.109.1

print(sys.version)  #3.10.18 | packaged by Anaconda, Inc. | (main, Jun  5 2025, 13:08:55) [MSC v.1929 64 bit (AMD64)]